package com.boat.starter.mockit.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.core.annotation.AliasFor;
import org.springframework.stereotype.Controller;

import io.swagger.v3.oas.annotations.tags.Tag;

/**
 * 标识该对象可以被mock
 * @author 周江
 *
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Controller
@Tag(name = "")
public @interface Mockable {
	/**
     * The name of this tag.
     *
     * @return the name of this tag
     */
	@AliasFor(annotation = Tag.class, attribute = "name")
    String name();
}
